﻿/*
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IvyOrm
{
    /// <summary>
    /// DbConnection object's type names, used to determine provider specific behavior. 
    /// Unknown connection types will use default options and may have limited functionality.
    /// </summary>
    static class KnownConnectionTypes
    {
        /// <summary>
        /// Firebird
        /// </summary>
        public static readonly string FbConnection = "FbConnection";

        /// <summary>
        /// Microsoft SQL Server
        /// </summary>
        public static readonly string SqlConnection = "SqlConnection";

        /// <summary>
        /// Microsoft SQL Server Compact Edition
        /// </summary>
        public static readonly string SqlCeConnection = "SqlCeConnection";

        /// <summary>
        /// SQLite
        /// </summary>
        public static readonly string SQLiteConnection = "SQLiteConnection";

        /// <summary>
        /// PostgreSQL
        /// </summary>
        public static readonly string NpgsqlConnection = "NpgsqlConnection";

        /// <summary>
        /// PostreSQL
        /// </summary>
        public static readonly string PgSqlConnection = "PgSqlConnection";

        /// <summary>
        /// Oracle Database
        /// </summary>
        public static readonly string OracleConnection = "OracleConnection";

        /// <summary>
        /// MySQL
        /// </summary>
        public static readonly string MySqlConnection = "MySqlConnection";
    }
}
